﻿namespace Douyu.SDK
{
    /// <summary>
    /// 消息类别
    /// </summary>
    public class MessageType
    {
        /// <summary>
        /// 心跳消息
        /// (客户端2.3.2/服务器2.4.2)
        /// </summary>
        public const string keeplive = nameof(keeplive);

        /// <summary>
        /// 客户端登录请求(2.3.1)
        /// </summary>
        public const string loginreq = nameof(loginreq);

        /// <summary>
        /// 入组消息(2.3.3)
        /// </summary>
        public const string joingroup = nameof(joingroup);

        /// <summary>
        /// 登出消息(2.3.4)
        /// </summary>
        public const string logout = nameof(logout);

        /// <summary>
        /// 服务器登录响应(2.4.1)
        /// 格式: type@=loginres/userid@=0/roomgroup@=0/pg@=0/sessionid@=0/username@=/nickname@=/live_stat@=0/is_illegal@=0/ill_ct@=/ill_ts@=0/now@=0/ps@=0/es@=0/npv@=0/best_dlev@=0/cur_lev@=0/
        /// </summary>
        public const string loginres = nameof(loginres);

        /// <summary>
        /// 弹幕消息(2.4.3)
        /// </summary>
        public const string chatmsg = nameof(chatmsg);

        /// <summary>
        /// 在线礼物:领取鱼丸爆击消息(2.4.4)
        /// </summary>
        public const string onlinegift = nameof(onlinegift);

        /// <summary>
        /// 赠送礼物消息(2.4.5)
        /// </summary>
        public const string dgb = nameof(dgb);

        /// <summary>
        /// 用户进房通知消息(2.4.6)
        /// </summary>
        public const string uenter = nameof(uenter);

        /// <summary>
        /// 用户赠送酬勤通知消息(2.4.7)
        /// </summary>
        public const string bc_buy_deserve = nameof(bc_buy_deserve);

        /// <summary>
        /// 个人用户的升级信息
        /// 格式: type@=upgrade/uid@=38517721/rid@=434847/gid@=-9999/nn@=13708280616/level@=13/
        /// </summary>
        public const string upgrade = nameof(upgrade);

        /// <summary>
        /// 刷火箭通知(??)
        /// 格式:type@=spbc/sn@=秀秀滴叁仟叁佰三十6/dn@=菀菀妹w/gn@=火箭/gc@=1/drid@=454458/gs@=6/gb@=1/es@=1/gfid@=59/eid@=7/bgl@=3/rid@=154537/gid@=-9999/
        /// </summary>
        public const string spbc = nameof(spbc);

        /// <summary>
        /// 礼物标题通知(??)
        /// type@=gift_title/uname@=SBQQ3382231337/rname@=老实敦厚的笑笑/gt@=1/uid@=46706276/rid@=154537/gid@=-9999/
        /// </summary>
        public const string gift_title = nameof(gift_title);

        /// <summary>
        /// 排行榜变更通知信息
        /// </summary>
        public const string ranklist = nameof(ranklist);

        /// <summary>
        /// 用途:未知(猜测:排名提升)
        /// 格式:type@=rankup/rid@=475252/gid@=-9999/drid@=475252/rt@=0/bt@=1/sz@=3/uid@=14268795/nk@=我要看咪咪0830/rkt@=1/rn@=4/
        /// </summary>
        public const string rankup = nameof(rankup);

        /// <summary>
        /// 用途:未知
        /// 格式:type@=donateres/rid@=475252/gid@=-9999/ms@=100/sb@=957/dst_weight@=40295646/hc@=1/r@=0/gfid@=18/gfcnt@=0/sui@=id@A=25536330@Srg@A=1@Snick@A=931463665@Scur_lev@A=0@Scq_cnt@A=0@Sbest_dlev@A=0@Slevel@A=3@S/
        /// </summary>
        public const string donateres = nameof(donateres);

        /// <summary>
        /// 用途:未知
        /// 格式:type@=ggbb/rid@=475252/gid@=-9999/sl@=69/sid@=14268795/did@=25276999/snk@=我要看咪咪0830/dnk@=历哥/rpt@=0/
        /// </summary>
        public const string ggbb = nameof(ggbb);

        /// <summary>
        /// 用途:未知
        /// 格式:type@=blackres/rescode@=0/rid@=525207/gid@=-9999/blacktype@=2/userid@=877421/limittime@=356400/snick@=Blizzard04/dnick@=不要叫我大王_qq/
        /// </summary>
        public const string blackres = nameof(blackres);

        /// <summary>
        /// 用途:未知
        /// 格式:type@=rss/rt@=0/rtv@=0/rid@=706656/gid@=-9999/ss@=1/code@=0/notify@=0/endtime@=0/
        /// </summary>
        public const string rss = nameof(rss);

        /// <summary>
        /// 用途:未知
        /// 格式:type@=srres/rid@=706656/gid@=-9999/uid@=44638996/nickname@=唐山三弟/exp@=50/
        /// </summary>
        public const string srses = nameof(srses);

        /// <summary>
        /// 用途:未知
        /// 格式:type@=newblackres/ret@=0/rid@=706656/gid@=-9999/otype@=1/sid@=17377739/did@=10225667/snic@=ly20156/dnic@=bbs1354674668/endtime@=1476731227/
        /// </summary>
        public const string newblackres = nameof(newblackres);

        /// <summary>
        /// 用途:未知
        /// 格式:type@=ul_ranklist/rid@=426088/ts@=1474141080/list_level@=crk@AA=1@ASuid@AA=28259828@ASlevel@AA=30@ASnn@AA=Ge小亮@ASic@AA=avatar@AAS028@AAS25@AAS98@AAS28_avatar@ASrg@AA=1@ASpg@AA=1@ASgt@AA=3@AS@Scrk@AA=2@ASuid@AA=11915085@ASlevel@AA=28@ASnn@AA=他梦里梦见他的阿七@ASic@AA=avatar@AASface@AAS201608@AAS14@AASb0979eab52c6f5cc62da2b60f67932ab@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=3@ASuid@AA=19449034@ASlevel@AA=26@ASnn@AA=雅痞Will@ASic@AA=avatar@AASface@AAS201606@AAS06@AAS25953dbb9274035dd3a6a71acbabf9ed@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=4@ASuid@AA=18507056@ASlevel@AA=25@ASnn@AA=蕞后壹支烟@ASic@AA=avatar@AASface@AAS201609@AAS14@AASacb36db083b4cd86b383888173706118@ASrg@AA=1@ASpg@AA=1@ASgt@AA=2@AS@Scrk@AA=5@ASuid@AA=13338739@ASlevel@AA=24@ASnn@AA=大波万王@ASic@AA=avatar@AAS013@AAS33@AAS87@AAS39_avatar@ASrg@AA=4@ASpg@AA=1@ASgt@AA=3@AS@Scrk@AA=6@ASuid@AA=33220985@ASlevel@AA=19@ASnn@AA=南阳公子@ASic@AA=avatar@AASface@AAS201607@AAS20@AASb00e9d4596f7d4ac6f2dfa0c685b79d8@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=7@ASuid@AA=35274761@ASlevel@AA=18@ASnn@AA=MINIFAI@ASic@AA=avatar@AASface@AAS201604@AAS48e95f13302b153bccda66ece5ecc190@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=8@ASuid@AA=2914813@ASlevel@AA=17@ASnn@AA=追梦人瓜瓜丿难舍71771@ASic@AA=avatar@AASface@AAS201605@AAS09@AAS8feaaa5f894f4e8149d5d5f0edb4e56f@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=9@ASuid@AA=1516948@ASlevel@AA=17@ASnn@AA=Etarip@ASic@AA=avatar@AASface@AAS201608@AAS02@AASd5780f6a53eba95aa8ffe7542270aff8@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=10@ASuid@AA=2175915@ASlevel@AA=15@ASnn@AA=小馨馨馨@ASic@AA=avatar@AAS002@AAS17@AAS59@AAS15_avatar@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=11@ASuid@AA=786077@ASlevel@AA=14@ASnn@AA=君临天下1234@ASic@AA=avatar@AAS000@AAS78@AAS60@AAS77_avatar@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=12@ASuid@AA=2937993@ASlevel@AA=14@ASnn@AA=苍颈鹿@ASic@AA=avatar@AAS002@AAS93@AAS79@AAS93_avatar@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=13@ASuid@AA=9975348@ASlevel@AA=14@ASnn@AA=Saigado@ASic@AA=avatar@AASface@AAS201608@AAS29@AAS4263643719989974499a859567ce1f33@ASrg@AA=1@ASpg@AA=1@ASgt@AA=2@AS@Scrk@AA=14@ASuid@AA=31631880@ASlevel@AA=14@ASnn@AA=DUGSBY@ASic@AA=avatar@AASface@AAS201606@AAS05@AAS503de88cff5a47509c6edb21c63952ff@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=15@ASuid@AA=32962228@ASlevel@AA=13@ASnn@AA=迷鹭团丶凌寒@ASic@AA=avatar@AASface@AAS201607@AAS26@AAS53a60142cfa458b51aa40d79ff0fbcec@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=16@ASuid@AA=2402690@ASlevel@AA=13@ASnn@AA=panjun821393158@ASic@AA=avatar@AASface@AAS201606@AAS25@AASf49622bf561af93da29bbc1f8b590252@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=17@ASuid@AA=35933823@ASlevel@AA=13@ASnn@AA=xkk熠@ASic@AA=avatar@AASdefault@AAS04@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=18@ASuid@AA=40316769@ASlevel@AA=12@ASnn@AA=粗链擒人007@ASic@AA=avatar@AAS040@AAS31@AAS67@AAS69_avatar@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=19@ASuid@AA=62955637@ASlevel@AA=12@ASnn@AA=丶一身情债@ASic@AA=avatar@AASface@AAS201608@AAS08@AASf28d322e5c0955fe90a4a58465b8bed8@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=20@ASuid@AA=15632640@ASlevel@AA=12@ASnn@AA=爱不释手1999@ASic@AA=avatar@AAS015@AAS63@AAS26@AAS40_avatar@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=21@ASuid@AA=15928199@ASlevel@AA=12@ASnn@AA=dxx376200@ASic@AA=avatar@AAS015@AAS92@AAS81@AAS99_avatar@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=22@ASuid@AA=19288439@ASlevel@AA=11@ASnn@AA=110360105237@ASic@AA=avatar@AASdefault@AAS06@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=23@ASuid@AA=28693444@ASlevel@AA=11@ASnn@AA=@ASic@AA=@ASrg@AA=0@ASpg@AA=1027686519@ASgt@AA=-1@AS@Scrk@AA=24@ASuid@AA=10703043@ASlevel@AA=11@ASnn@AA=1021010310@ASic@AA=avatar@AAS010@AAS70@AAS30@AAS43_avatar@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=25@ASuid@AA=61544160@ASlevel@AA=11@ASnn@AA=禽禽2@ASic@AA=avatar@AASface@AAS201609@AAS12@AASbc69ecd038109c9f4143300214ce45e3@ASrg@AA=1@ASpg@AA=1@ASgt@AA=1@AS@Scrk@AA=26@ASuid@AA=21209852@ASlevel@AA=11@ASnn@AA=白起2015@ASic@AA=avatar@AAS021@AAS20@AAS98@AAS52_avatar@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=27@ASuid@AA=11236381@ASlevel@AA=11@ASnn@AA=尉迟到@ASic@AA=avatar@AASface@AAS201607@AAS12@AAScc60652ff4791e3018cc6edc8aec014f@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=28@ASuid@AA=2319745@ASlevel@AA=11@ASnn@AA=一眸007@ASic@AA=avatar@AAS002@AAS31@AAS97@AAS45_avatar@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=29@ASuid@AA=26039633@ASlevel@AA=11@ASnn@AA=188866485@ASic@AA=avatar@AASface@AAS201608@AAS28@AASa5840409e4f69f9129fd73a6b82709c0@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@Scrk@AA=30@ASuid@AA=37824318@ASlevel@AA=11@ASnn@AA=luxun789@ASic@AA=avatar@AAS037@AAS82@AAS43@AAS18_avatar@ASrg@AA=1@ASpg@AA=1@ASgt@AA=0@AS@S/
        /// </summary>
        public const string ul_ranklist = nameof(ul_ranklist);

        /// <summary>
        /// 错误消息(坑, 文档上没给出)
        /// </summary>
        public const string error = nameof(error);

    }

}
